const menus = [{
    "path": "/",
    "name": "home",
    "component": "/Home",
    "meta": {
        "id": 0,
        "title": "首页",
        "icon": "el-icon-s-home"
    }
}, {
    "path": "/article",
    "name": "article",
    "component": "/article/Index",
    "meta": {
        "id": 1,
        "title": "文章管理",
        "icon": "el-icon-s-management",
        "show": true,
        "type": 0
    },
    "children": [{
        "path": "/article/label",
        "name": "label",
        "component": "/article/Label",
        "meta": {
            "id": 10,
            "title": "分类管理",
            "icon": "",
            "show": true
        }
    }, {
        "path": "/article/list",
        "name": "list",
        "component": "/article/List",
        "meta": {
            "id": 11,
            "title": "文章列表",
            "icon": "",
            "show": true
        }
    }, {
        "path": "/article/write",
        "name": "write",
        "component": "/article/Write",
        "meta": {
            "id": 12,
            "title": "添加文章",
            "icon": "",
            "show": true
        }
    }]
}, {
    "path": "/resource",
    "name": "index",
    "component": "/resource/Index",
    "meta": {
        "id": 3,
        "title": "资源管理",
        "icon": "el-icon-s-cooperation"
    },
    "children": [{
        "path": "/resource/list",
        "name": "list",
        "component": "/resource/List",
        "meta": {
            "id": 30,
            "title": "资源列表",
            "icon": "",
            "show": true
        }
    }]
}, {
    "path": "/system",
    "name": "index",
    "component": "/system/index",
    "meta": {
        "id": 4,
        "title": "系统管理",
        "icon": "el-icon-s-tools"
    },
    "children": [{
        "path": "/system/user",
        "name": "user",
        "component": "/system/User",
        "meta": {
            "id": 40,
            "title": "用户管理",
            "icon": "",
            "show": true
        }
    }, {
        "path": "/menu",
        "name": "menu",
        "component": "/system/Menu",
        "meta": {
            "id": 41,
            "title": "菜单管理",
            "icon": "",
            "show": true
        }
    }]
}];

function getMenus() {
    return menus;
}

module.exports = { getMenus };